/*
 * MockDisplay.h
 *
 *  Created on: Feb 7, 2012
 *      Author: hzheng
 */

#ifndef MOCKDISPLAY_H_
#define MOCKDISPLAY_H_


#include "gmock/gmock.h"
#include "lcd/IDisplay.h"
namespace NS_LCD_AFW
{
class CMockDisplay : public IDisplay
{
public:
	MOCK_METHOD0(initialize,int());
	MOCK_METHOD0(unInitialize,int());
	MOCK_METHOD0(getColumnSize,int());
	MOCK_METHOD0(getRowSize,int());
	MOCK_METHOD4(hightlight,int(int x,int y,int width,int hight));
	MOCK_METHOD4(unHightlight,int(int x,int y,int width,int hight));
	MOCK_METHOD5(write,int(int x,int y,int width,int hight,const char *pszString));
	MOCK_METHOD3(writeChar,int(int x,int y,char c));
	MOCK_METHOD4(writeLine,int(int x,int y,int width,const char *pszString));
	//MOCK_METHOD0(cleanScreen,int());
	MOCK_METHOD4(cleanScreen,int(int x,int y,int width,int hight));
	MOCK_METHOD0(showCursor,int());
	MOCK_METHOD0(hideCursor,int());
	MOCK_METHOD2(getCursor,int(int &,int &));
    MOCK_METHOD2(setCursor,int(int ,int )) ;


};
}

#endif /* MOCKDISPLAY_H_ */
